// 获取当前城市
export const GetCities = `
query($lon:Float,$lat:Float,$fill_id:String){
  get_city(lon:$lon,lat:$lat,fill_id:$fill_id){
    code
    name
  }
}`;
// 获取城市列表
export const GetCitieList = `
query{
  get_city_list{
    code
    name
  }
}`;
// 获取店铺加注量
export const ShopNoteOrder = `
query($wechat_price:Float,$money_price:Float,$price:Float){
  fill_amount(wechat_price:$wechat_price,money_price:$money_price,price:$price){
    wechat_amount
	money_amount
  }
}`;
// 获取店铺加注页
export const ShopNotes = `
query($id:Int){
  get_shop_filling(id:$id){
    shop_id
	shop_name
	money_price
	wechat_price
  }
}`;
//助理列表
export const Assistant = `
query{
  admin_list{
    id
    name
    image
    status
  }
}`;
// 获取车友团列表
export const CheYoutuan = `
query($code:String,$driver_id:Int,$type:Int){
  get_team_list(code:$code,driver_id:$driver_id,type:$type){
    id
    name
    type
    admin_id
    level
    score
    status
    is_main
    driver_avatar{
        id
        avatar
    }
    driver_count
    new_price{
        money
        wechat
        day
    }
    level_price{
        money
        wechat
		    image
    }
  }
}`;
// 获取超级列表
export const Supertuan = `
query($code:String,$driver_id:Int,$type:Int){
  get_sup_team_list(code:$code,driver_id:$driver_id,type:$type){
    id
    name
    type
    admin_id
    level
    score
    status
    is_main
    driver_avatar{
        id
        avatar
    }
    driver_count
    new_price{
        money
        wechat
        day
    }
    level_price{
        money
        wechat
		    image
    }
  }
}`;
// 获取邀请团队
export const InviteTeam = `
query($driver_id:Int,$team_id:Int){
  get_yq_image(driver_id:$driver_id,team_id:$team_id){
    image
  }
}`;
// 获取是否展示加入及被加入
export const Join = `
query($driver_id:Int){
  my_team_nums(driver_id:$driver_id){
    add_nums
    create_nums
  }
}`;
// 获取创建团图片
export const Creategroup = `
query($type:String){
  get_ads(type:$type){
    id
    title
    linkurl
    imageurl
  }
}`;
// 获取创建车友首页团图片
export const getAdsLists = `
query($type:String){
  get_ads_list(type:$type){
    id
    title
    linkurl
    imageurl
  }
}`;
//获取团成员
export const getteam = `
query($team_id:Int,$page:Int,$order:String){
  get_team_driver_list(team_id:$team_id,page:$page,order:$order){
    list{
        id
        driver_id
        team_id
        score
        nickname
        avatar
    }
    total
    lastpage
  }
}`;
//获取车友团信息
export const getdriver = `
query($team_id:Int,$code:String){
  get_team_info(team_id:$team_id,code:$code){
    id
    name
    type
    admin_id
    level
    score
	  bao_nums
    address
    qun_image
    qun_name
    driver_avatar{
        avatar
    }
    driver_count
    new_price{
        money
        wechat
        day
    }
    level_price{
      image
      money
      wechat
      level
    }
    next_level_price{
      image
      score
      money
      wechat
      level
    }
  }
}`;
//团队环保分列表
export const protection = `
query($team_id:Int,$page:Int,$start:String,$end:String){
  team_score_list(team_id:$team_id,page:$page,start:$start,end:$end){
    list{
      id
      team_id
      score
      nickname
      createtime
    }
    total
    lastpage
    order_count
    score_count
    score
  }
}`;
//团队个人环保分列表
export const protectionSingle = `
query($team_id:Int,$driver_id:Int,$page:Int,$start:String,$end:String){
  driver_score_list(team_id:$team_id,page:$page,start:$start,end:$end,driver_id:$driver_id){
    list{
      id
      team_id
      score
      nickname
      createtime
    }
    driver_score{
      id
      driver_avatar
      driver_name
      createtime
      parent_name
      score
    }
    total
    lastpage
    order_count
    score_count
    score
  }
}`;
//获取等级策略
export const Hierarchical = `
query($team_id:Int,$code:String){
  get_level(team_id:$team_id,code:$code){
    money
    level
    team_level
    wechat
    status
    cha
    score
    level_image{
        bg
        level
        dizuo
    }
  }
}`;
//获取团助理信息
export const teamAssistant = `
query($admin_id:Int){
  get_admin_info(admin_id:$admin_id){
    id
    name
    image
    wechat
    mobile
    content
  }
}`;
//获取团加注信息
export const Kilograms = `
query($team_id:Int,$code:String,$price:Float){
  get_team_price_asc(team_id:$team_id,code:$code,price:$price){
    type
    money
    wechat
    image
    day
    team_name
    wechat_amount
    money_amount
    fenbo_amount
    fenbo_price
  }
}`;
//获取加注机附近车友团
export const getTeamListByFill = `
query($fill_id:Int,$code:String,$page:Int){
  get_team_list_by_fill(fill_id:$fill_id,code:$code,page:$page){
    list{
      id
      name
      driver_avatar{
          avatar
      }
      driver_count
      new_price{
          money
          wechat
          day
      }
      level_price{
          image
          money
          wechat
      }
    }
    total
    lastpage
  }
}`;